package rabbitMqLearn.mq.config;

public class Config {
    public static final String HOST = "127.0.0.1";
    public static final int PORT = 15672;
    public static final String VIRTUALHOST = "learn";
    public static final String USERNAME = "learner";
    public static final String PASSWORD = "learner";

    public static final String WORK_QUEUE_NAME = "work_queue";

    //广播模式
    public static final String FANOUT_EXCHANGE_NAME = "fanout_exchange";
    public static final String FANOUT_QUEUE_1 = "fanout_queue1";
    public static final String FANOUT_QUEUE_2 = "fanout_queue2";

    //路由模式
    public static final String ROUTING_EXCHANGE_NAME = "routing_exchange";
    public static final String ROUTING_QUEUE_1 = "routing_queue1";
    public static final String ROUTING_QUEUE_2 = "routing_queue2";
    public static final String ROUTING_QUEUE_1_BINDING_KEY = "hhh";
    public static final String ROUTING_QUEUE_2_BINDING_KEY = "www";

    //通配符模式
    public static final String TOPIC_EXCHANGE_NAME = "topic_exchange";
    public static final String TOPIC_QUEUE_1 = "topic_queue1";
    public static final String TOPIC_QUEUE_2 = "topic_queue2";
    public static final String TOPIC_QUEUE_1_BINDING_KEY = "*.hhh";
    public static final String TOPIC_QUEUE_2_BINDING_KEY = "#.www";

    //RPC通信
    public static final String RPC_REQUEST_QUEUE = "request_queue";
    public static final String RPC_RESPONSE_QUEUE = "response_queue";

    //confirm queue
    public static final String RPC_REQUEST_CONFIRM_QUEUE = "request_confirmation_queue";
}
